/* 购物车商品展示控件： */
@font-face {
  font-family: 'iconfont';
  src: url('../fonts/iconfont.eot');
  src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
  url('../fonts/iconfont.woff') format('woff'),
  url('../fonts/iconfont.ttf') format('truetype'),
  url('../fonts/iconfont.svg#iconfont') format('svg');
}

.goods-info {
    display: block;
    width: 100%;

    background-color: #fff;

    margin-bottom: 20px;
}

.goods-info>div:first-of-type {
    display: inline-block;
    width: 9.8%;
    height: 160px;
    
    padding-left: 26px;
}

/* 单选框 */

input[type=checkbox] {
    display: none;
}

.checkbox {
    display: block;
    height: 156px;
}

input[type=checkbox]+div {
    display: inline-block;
    width: 25px;
    height: 25px;

    margin-top: 70px;
    margin-bottom: 70px;

    border: 2px solid #e21436;
    border-radius: 20px;

    transition: all .3s;

    text-align: center;

    cursor: pointer;
}

input[type=checkbox]+div::before {
    display: inline-block;
    
    content: " ";

    color:#e21436;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
}

input[type=checkbox]:checked+div::before {
    content: "√";   
}

.goods-info>div:nth-of-type(2) {
    display: inline-block;
    width: 48.9%;

    vertical-align: top;

    position: relative;
}

.goods-info>div:nth-of-type(2) a {
    display: block;
    
    margin-top: 24px;
    margin-bottom: 24px;

    font-size: 12px;
    color: #000;

    transition: all .5s;
}

.goods-info>div:nth-of-type(2) a:hover {
    font-weight: bold;
}

.goods-info>div:nth-of-type(2) img {
    width: 80px;
    height: 80px;
}

.goods-info>div:nth-of-type(2) .goodsname {
    display: inline-block;
    width: 30%;

    margin-left: 10%;

    vertical-align: top;

    font-size: 12px;
    line-height: 20px;
}

.goods-info>div:nth-of-type(2) p {
    display: inline-block;
    width: 30%;
    margin-left: 10%;

    font-size: 12px;

    vertical-align: top;
    text-align: center;
}

.goods-info>div:nth-of-type(3) {
    display: inline-block;
    width: 13%;
    margin-top: 65px;
    margin-left: 1%;

    text-align: center;

    vertical-align: top;
}

/* 输入框 */

.goods-info>div:nth-of-type(4) {
    display: inline-block;
    width: 13%;

    text-align: center;

    vertical-align: top;
}

.goods-info>div:nth-of-type(4) i {
    display: inline-block;
    
    font-family: iconfont;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    color: #666;

    cursor: pointer;
    
    user-select:none;

    transition: all .5s;
}

.goods-info>div:nth-of-type(4) i:first-of-type {
    transform: rotate(180deg); 
}

.goods-info>div:nth-of-type(4) i:hover {
    color: #e21436;
}

.number-input {
    width: 50%;
    height: 30px;

    margin-top: 60px;

    box-shadow: 0 0 0;

    outline: 0;

    border: 1px solid #777;
    border-radius: 5px;

    position: relative;

    text-align: center;

    transition: all .3s;
}

.number-input:hover {
    border-color: #e21436;
}

.number-input:focus {
    border-color: #e21436;
}


input[type=number] {
    -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}


.goods-info>div:nth-of-type(5) {
    display: inline-block;
    margin-top: 65px;
    margin-left: 3%;

    text-align: center;
    color: #e31436;

    vertical-align: top;
}

/* 结算 */
.settle {
    width: 100%;
    background-color: #fff;

    margin-bottom: 100px;
}

.settle label {
    display: inline-block;
    
    margin-left: 26px;
    margin-top: 30px;

    vertical-align: top;
}

.settle label div {
    margin: 0;
    
    vertical-align: top;
}

.settle label span {
    display: inline-block;
    
    vertical-align: top;

    cursor: pointer;

    user-select: none;

    margin-left: 30px;

    font-size: 12px;
    line-height: 25px;


}

.settle>span {
    display: inline-block;

    margin-left: 26px;
    margin-top: 34px;

    vertical-align: top;
    font-size: 12px;

    cursor: pointer;
}

.settle>div{
    display: inline-block;
    width: 40%;

    margin-left: 38%;
    margin-top: 30px;

    text-align: right;
}

.settle i {
    font-style: normal;
}

.settle>div p {
    font-size: 12px;
}

#goodNum {
    color: #e31436;
}

#goodNum + span {
    color: #e31436;
}

#totalPrice {
    font-size: 22px;
}

.settle a {
    display: inline-block;
    width: 140px;
    height: 40px;

    margin-bottom: 40px;

    text-align: center;
    background-color: #e31436;

    border-radius: 5px;


    font-size: 16px;
    line-height: 40px;
    color: #fff;
}

.pay .ant-modal-content{
    border-radius: 10px;
}

.pay .ant-modal-header {
    border-radius: 10px;

    border-bottom: none;

    padding-top: 30px;
    padding-bottom: 20px;
    padding-left: 20px;  
}

.pay .ant-modal-title {
    font-size: 16px;
    font-weight: bold;
}

.pay .ant-modal-close-x {
    display: none;
}

.pay .ant-modal-close-x::before {
    display: none;
}

.pay .ant-modal-body {
    padding: 0;

    border-radius: 10px;
}

.pay .ant-modal-body p {
    margin-bottom: 20px;
    margin-left: 20px;
    
    font-size: 14px; 
    font-weight: bold;
}

.pay .pay-window {
    width: 180px;
    height: 180px;
    
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;

    position: relative;
}

.pay .pay-window>div:first-of-type {
    width: 13px;
    height: 13px;
    
    border-top: 2px solid #000;
    border-left: 2px solid #000;

    position: absolute;
    top: 0;
    left: 0;
}

.pay .pay-window>div:nth-of-type(2) {
    width: 13px;
    height: 13px;
    
    border-right: 2px solid #000;
    border-top: 2px solid #000;

    position: absolute;
    top: 0;
    right: 0;
}

.pay .pay-window>div:nth-of-type(3) {
    width: 13px;
    height: 13px;
    
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;

    position: absolute;
    bottom: 0;
    left: 0;
}

.pay .pay-window>div:nth-of-type(4) {
    width: 13px;
    height: 13px;
    
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;

    position: absolute;
    bottom: 0;
    right: 0;
}

.pay .ant-pay {
    width: 130px;
    height: 130px;

    border: none;

    position: absolute;
    top: 26px;
    left: 26px;
}

.pay .price {
    padding-top: 20px;

    font-size: 10px;
    color: #e31436;
    text-align: center;
}

.pay .price>span {
    font-size: 18px;
}

.pay .pay-dis {
    vertical-align: center;
    font-size: 12px;
    color: #b5b5b5;
    text-align: center;
}

.pay .pay-dis>p{
    display: inline-block;

    line-height: 20px;
    vertical-align: top;
}

.pay .pay-dis>span {
    display: inline-block;
    margin-top: 1px;
    margin-right: 14px;

    font-family: iconfont;
    font-size: 20px;
    line-height: 20px;
}

.pay .pay-footer {
    height: 40px;
    margin-top: 60px;

    border-radius: 0 0 10px 10px;

    background-color: #e31436;
}

.pay .pay-footer>p {
    display: inline-block;

    font-size: 14px;
    font-weight: normal;
    color: #fff;
    line-height: 40px;
}

.pay .pay-footer>p>span {
    display: inline-block;
    padding-left: 20px;
    padding-right: 14px;

    font-family: iconfont;
    font-size: 18px;
}

.pay .pay-footer>a {
    float: right;
    padding-right: 36px;

    line-height: 40px;
    color: #fff;
}
